package com.ht.constant;

import java.lang.reflect.Array;
import java.util.*;

/**
 * @ProjectName: ht
 * @ClassName: DicConstants
 * @Author: hejialun
 * @Description: 码表常量
 * @Date: 2021/9/14 11:02
 */
public class DicConstants {


    /**
     * 订单状态
     */
    public static class OrderState{
        private OrderState() {
            throw new UnsupportedOperationException();
        }
        //准备中
        public static final String PREPARE = "01";
        //配送中
        public static final String DISTRIBUTION = "02";
        //已签收
        public static final String SIGN_IN = "03";
    }



    /**
     * 角色编码
     */
    public static class RoleCode{
         private RoleCode() {
            throw new UnsupportedOperationException();
        }
        //管理员
        public static final String ADMIN = "ADMIN";
        //用户
        public static final String USER = "USER";
        //商户
        public static final String MERCHANTS = "MERCHANTS";
    }



    /**
     * 文件所属业务
     */
    public static class FileBusiness {
        private FileBusiness() {
            throw new UnsupportedOperationException();
        }
        //商户图片
        public static final String MERCHANTS = "01";
        //商品图片
        public static final String GOODS = "02";

    }


    /**
     * 状态
     */
    public static class State {
        private State() {
            throw new UnsupportedOperationException();
        }
        //启用
        public static final String ENABLE = "01";
        //禁用
        public static final String DISABLE = "02";
    }


    /**
     * 菜单类型
     */
    public static class MenuType {
        private MenuType() {
            throw new UnsupportedOperationException();
        }
        //菜单
        public static final String MENU = "0";
        //页面
        public static final String PAGE = "1";
        //按钮
        public static final String BUTTON = "2";
    }


    /**
     * 消息类型
     */
    public static class SocketType{
        private SocketType() {
            throw new UnsupportedOperationException();
        }
        //用户消息
        public static final String USER = "user";
        //首页统计消息
        public static final String SY = "sy";
    }


}